@extends('Home/Layout/baseusercenter')

@section('title', '我的订单详情')

{{--  首页主体  --}}
@section('main')

@section('title2', '我的订单详情')
            <div class="uc-content">
                <div class="uc-panel">
                    <div class="uc-bigtit">订单详情
                        <a class="extra" href="">请谨防钓鱼链接或诈骗后台，了解更多></a>
                    </div>
                    <div class="uc-panel-bd">

                        <div class="order-detail">
                            <div class="od-hd">
                                <div class="fl">
  
                                    <span class="tit">订单号：</span><span>{{$orders->orders_num}}</span>
                                </div>
                            </div>
<!--                             <div class="od-status">
                                <div class="tit">等待付款</div>1小时35后订单将被关闭
                            </div> -->

                            <div class="od-percent">
                                <div class="col"><div class="inner">下单<span class="time"></span></div></div>
                                <div class="col col2 "><div class="inner">付款</div></div>
                                <div class="col col3 active"><div class="inner">发货</div></div>
                                <div class="col col4"><div class="inner">交易成功</div></div>
                            </div>
                            @foreach($orders_detalis as $val)
                            <div class="od-pdt">
                                <div class="item">
                                    <img src="" class="figure" />
                                    <div class="pname">{{$val->gname}} {{$val->color}} {{$val->size}}</div>
                                    <div class="price">{{$val->deal_price}}元X{{$val->buy_num}}</div>
                                </div>
                                
                            </div>
                            @endforeach
                            <div class="od-info">
                                <div class="item">
                                    <div class="tit">
                                        收货信息<a href="{{url('/editAd', $orders->aid)}}" class="ui-btn-low ui-btn-hollow uc-btn-md fr">修改</a>
                                    </div>
                                    <div class="meta">
                                        <div>姓&emsp;&emsp;名：{{$orders->link_man}}</div>
                                        <div>联系电话：{{$orders->phone}}</div>
                                        <div>收货地址：{{$orders->address}}</div>
                                    </div>
                                </div>
                            </div>
                            <div class="od-count">
                                <div class="inner">
                                    <div class="item">
                                        <div class="tit">商品总价:</div>
                                        <div class="val">{{$orders->orders_sum}}元</div>
                                    </div>

                                    <div class="item last">
                                        <div class="tit">实付金额:</div>
                                        <div class="val"><span class="strong">{{$orders->orders_sum}}</span>元</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('footer-js')


@endsection
